
//
//  CallStarLeaveCell.m
//  LiveStar
//
//  Created by 漪珊 on 2017/5/31.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "CallStarLeaveCell.h"
#import "SuperCommentModel.h"

@implementation CallStarLeaveCell
- (void)awakeFromNib {
    [super awakeFromNib];
    kImageViewRadius(self.userIcon, self.userIcon.width/2);
}

- (void)setCommentModel:(SuperCommentModel *)commentModel {
    _commentModel = commentModel;
    [self.userIcon sd_setImageWithURL:[NSURL URLWithString:commentModel.u_avatar] placeholderImage:kPlACE_ICON];
    self.userName.text = commentModel.u_nickname;
    self.sendTime.text = commentModel.c_createtime;
    self.sendDetail.text = commentModel.c_content;
}
@end
